home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-21
/
ser_pr.tec
< prev
next >
Wrap
Text File
|
1993-01-09
|
2KB
|
50 lines
ID:SP Serial Port Printing in DESQview
Quarterdeck Technical Note #107
by Stan Young
last revision: 12 February 1992
Q: HOW CAN I INITIALIZE MY SERIAL PRINTER WITH DESQVIEW?
A: If you are going to initialize a serial port in a DESQview window, you have
set up the program information file for that window so that the option "Uses
serial ports" is either "Y" or the specific port being used. Otherwise the
COM port cannot be accessed due to the port protection mechanism of DESQview.
Trying to use the DOS MODE command to initialize a COM port from a window
which has "Uses serial ports" set to "N" will result in a DOS message:
"Invalid parameter 'COM?'
since DOS will not see the port as available.
Q: IS THERE A "BEST WAY" TO SET UP FOR SERIAL PRINTING IN DESQVIEW?
A: Set up as shown above, a program running in DESQview can directly access a
serial port for printing. However, a better solution is to initialize the
port with MODE and redirect an LPT port to the serial port BEFORE running
DESQview. If you have redirected an LPT port to the serial port before
running DESQview, you can simply print to the port without regard to how the
"Uses serial ports" parameter is set, since the actual redirection of print is
handled outside of DESQview.
Q: I ALSO HAVE A PARALLEL PRINTER. HOW CAN I REDIRECT MY SERIAL PORT TO
LPT1?
A: Don't select an LPT port which is already in use. If you already have a
real parallel printer, simply select the next logical LPT port to redirect.
Remember that a printer port can be addressed as a logical device by DOS --
that is, you do not have to actually have a port set up as LPT2 in order to
direct COM1 to it. The logical parallel printer ports supported by DOS are
LPT1, LPT2 and LPT3.
************************************************************************
*This technical note may be copied and distributed freely as long as it*
*is distributed in its entirety and it is not distributed for profit. *
* Copyright (C) 1988-92 by Quarterdeck Office Systems *
************************ E N D O F F I L E *************************
VwkYxw)cO^6awEESRRN6=ev8O^[%,+VsY╕ⁿï╗{yzdI(vVTD"siEYM]CRW'L6\XN@]GED"[BhA3<e(y#_^KB)-hofgbCZX
IE]
uTBE__[eE'lIO]OT_a^'jL^T[/O>0c@PUC3ZxyUQk 2YVXA
PrqY3\TCGC
L71l`(kaV[Xiy&RO'VB!QT-
!A_!@Pt7{y`u***